package dyyx.servlet;
import java.io.IOException;
import java.time.LocalDateTime;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class HelloServlet3 extends HttpServlet {

	@Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws IOException {
        String name = getServletConfig().getInitParameter("name");

        resp.getOutputStream().println(this.getClass() +" name is " + name+" "+LocalDateTime.now());
    }
}
